home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / hard / drivr / cyberx10.lha / CyberX10 / Source / CyberX10_Strings.cd < prev    next >
Text File  |  1992-11-04  |  8KB  |  231 lines

  1. ; CyberX10_Strings.cd
  2. ; Copyright © 1992 by Christopher A. Wichura (caw@miroc.chi.il.us)
  3. ; All rights reserved.
  4. ;
  5. ; This file contains the definitions for localizing the strings found
  6. ; in the program CyberX10.
  7. ;
  8. ; Note to translators:  CatComp chokes on lines that don't have anything
  9. ; on them so all blank lines must have a ; character on them so that
  10. ; CatComp considers them a comment and doesn't generate an error.
  11. ;
  12. ; *************************************************************************
  13. ; Special magic that translators shouldn't need to worry with
  14. ; *************************************************************************
  15. ;
  16. #header CYBERX10_STRINGS
  17. ;
  18. ; *************************************************************************
  19. ; *************************************************************************
  20. ; These are general purpose strings
  21. ; *************************************************************************
  22. ; *************************************************************************
  23. ;
  24. ; This first string is the name of the program
  25. MSG_PROGNAME (0//)
  26. CyberX10
  27. ;
  28. ; window title for an error requester
  29. MSG_ERROR_REQ_WIN_TITLE (//)
  30. CyberX10 Error
  31. ;
  32. ; text for continue gadget in error requester
  33. MSG_CONTINUE (//)
  34. CONTINUE
  35. ;
  36. ; the infamous out of memory message :-)
  37. MSG_OUT_OF_MEMORY (//)
  38. Out of memory!
  39. ;
  40. ; This is printed when the user gives us a command line that doesn't
  41. ; actually have anything for us to do on it
  42. MSG_NOTHING_TO_DO (//)
  43. Nothing to do!
  44. ;
  45. ; printed when we can't open up the serial device.  % arguments are:
  46. ;    1) %s  = device name (i.e., serial.device)
  47. ;    2) %ld = unit number
  48. MSG_NO_SER_DEV (//)
  49. Couldn't open \"%s\" unit %ld.
  50. ;
  51. ; printed when we couldn't open the timer device
  52. MSG_NO_TIMER (//)
  53. Couldn't open timer.
  54. ;
  55. ; general "couldn't open" error message.  %s is the thing we couldn't open
  56. MSG_COULDNT_OPEN (//)
  57. Couldn't open %s.
  58. ;
  59. ; printed when we couldn't allocate a RDArgs structure
  60. MSG_NO_RDARGS (//)
  61. Couldn't allocate a RDArgs structure.
  62. ;
  63. ; these are the types of actions that one might ask the X10 interface to
  64. ; to.  They are used in the MSG_CP290_ERROR_DIRECT string below.
  65. MSG_TURN_ON (//)
  66. turn on
  67. MSG_TURN_OFF (//)
  68. turn off
  69. MSG_DIM (//)
  70. dim
  71. ;
  72. ; printed when we have a problem trying to turn a unit on/off, etc.
  73. ; % arguments are:
  74. ; 1)    %s = one of MSG_TURN_ON, MSG_TURN_OFF or MSG_DIM
  75. ; 2)    %s = the target unit (e.g., "c1")
  76. MSG_CP290_ERROR_DIRECT (//)
  77. CP290 interface error trying to %s unit %s.
  78. ;
  79. ; printed when no units were specified for an action
  80. MSG_NO_UNITS_SPECIFIED (//)
  81. No units specified.
  82. ;
  83. ; printed when an invalid unit was given.  %s is the bad unit name.
  84. MSG_INVALID_UNIT (//)
  85. Invalid unit \"%s\" specified.
  86. ;
  87. ; printed when an invalid dimness level was given.  %ld is the bad level.
  88. MSG_INVALID_DIM_LEVEL (//)
  89. Invalid dim level %ld specified.
  90. ;
  91. ; printed when no base housecode has been specified.
  92. MSG_NO_BASE_HC (//)
  93. No base housecode specified.
  94. ;
  95. ; printed when an invalid base housecode has been specified.  %lc is bad hc
  96. MSG_INVALID_BASE_HC (//)
  97. Invalid housecode \"%lc\" specified.
  98. ;
  99. ; printed when an error occurs trying to set the base housecode
  100. MSG_CP290_ERROR_BASEHC (//)
  101. CP290 interface error trying to set base housecode.
  102. ;
  103. ; printed when an error occurs trying to set the CP290's clock.
  104. MSG_CP290_ERROR_SETCLOCK (//)
  105. CP290 interface error trying to set CP290's clock.
  106. ;
  107. ; printed when the CP290 fails its diagnostic test.  % arguments are:
  108. ; 1)    %s = one of MSG_TIMEOUT or MSG_STATUS_FLAG
  109. MSG_CP290_ERROR_DIAG (//)
  110. CP290 interface failed self diagnostic test (%s).
  111. ;
  112. ; possible reasons for the MSG_CP290_ERROR_DIAG indicating a failure.
  113. ; MSG_TIMEOUT means the unit timed out on the diagnostic while
  114. ; MSG_STATUS_FLAG means the unit returned a status flag that indicates a
  115. ; failure occured.
  116. MSG_TIMEOUT (//)
  117. Timeout
  118. MSG_STATUS_FLAG (//)
  119. Status Flag
  120. ;
  121. ; printed when we have some kind of error reading from the CP290
  122. ; %s = one of MSG_TIMEOUT or MSG_CHECKSUM
  123. MSG_CP290_ERROR_READING (//)
  124. %s error while reading from CP290 interface.
  125. ;
  126. ; used when we want to indicate a checksum error occured when reading from
  127. ; the CP290 interface.
  128. MSG_CHECKSUM (//)
  129. Checksum
  130. ;
  131. ; printed when the CP290 doesn't appear to be responding to us
  132. MSG_CP290_ERROR_NO_RESPONSE (//)
  133. CP290 interface not responding.
  134. ;
  135. ; printed when the CP290 passes its self diagnostic test.  % arguments are:
  136. ; 1)    %lc = current base housecode setting
  137. ; 2)    %s  = day name of CP290's clock (e.g., "Monday")
  138. ; 3)    %ld = hour of CP290's clock (range 0-23)
  139. ; 4)    %ld = minute of CP290's clock (range 0-59)
  140. MSG_CP290_PASSED_DIAG (//)
  141. CP290 interface passed self diagnostic test.\n\
  142. CP290's base housecode is currently set to %lc.\n\
  143. CP290's clock reads %s %02ld:%02ld.
  144. ;
  145. ; printed when there is a parse error in the download file. % arguments are
  146. ; 1)    %ld = line number error occured in
  147. ; 2)    %s  = filename of download file
  148. MSG_PARSE_ERROR (//)
  149. Parse error in line %ld of file \"%s\".
  150. ;
  151. ; printed when the timer or graphics tables are full, respectively.
  152. MSG_TIMER_TABLE_FULL (//)
  153. Timer event table is full (maximum of 128 entries).
  154. MSG_GRAPHICS_TABLE_FULL (//)
  155. Graphics data table is full (maximum of 256 entries).
  156. ;
  157. ; printed when we couldn't open a file.  %s is the filename
  158. MSG_COULDNT_OPEN_FILE (//)
  159. Couldn't open file \"%s\".
  160. ;
  161. ; printed when an error occurs downloading data to the CP290
  162. MSG_CP290_ERROR_DOWNLOAD (//)
  163. Error while downloading data to the CP290 interface.
  164. ;
  165. ; when writing to the upload file we are creating, we put in a couple of
  166. ; comments to indicate the start of the timer events and graphics data
  167. ; sections.  These next two strings hold said comments.  Note that the
  168. ; position of any \n or %s is important (i.e., always at the end or
  169. ; always at the beginning).  They are for formatting purposes, and thus
  170. ; the value of the %s is not meaningful to you, the translator.
  171. MSG_COMMENT_TIMER (//)
  172. # timer events\n\n
  173. MSG_COMMENT_GRAPHICS (//)
  174. %s# graphics data\n\n
  175. ;
  176. ; printed when an i/o error occurs writing to the upload file.  %s holds
  177. ; the upload file's filename.
  178. MSG_IO_ERROR (//)
  179. I/O Error writing to file \"%s\".
  180. ;
  181. ; printed when we can't create the upload file.  %s holds the filename.
  182. MSG_CANT_CREATE_FILE (//)
  183. Couldn't create file \"%s\".
  184. ;
  185. ; *************************************************************************
  186. ; *************************************************************************
  187. ; Messages for our ReadArgs() help string
  188. ; *************************************************************************
  189. ; *************************************************************************
  190. ;
  191. ; Template for the help text at ReadArgs time.  % arguments are:
  192. ;    1) MSG_PROGNAME
  193. ;    2) VersionID
  194. ;    3) MSG_COPYRIGHT
  195. MSG_ARG_HELP (//)
  196. %s v%s\n\
  197. %s\n\
  198. Use [ON], [OFF] or [DIM <dimness level from 1-16>] followed by unit\n\
  199. addresses to turn on, off or dim selected units.  For example, to turn on\n\
  200. units c1, c2 and e1 you would use:\n\
  201. \n\
  202.     on c1 c2 e2\n\
  203. \n\
  204. Use [BASEHC <new base housecode>] to set the CP290 interface's base\n\
  205. housecode.  Remember that this will erase any programming currently in the\n\
  206. interface's memory.\n\
  207. \n\
  208. Use [SETCLOCK] to set the CP290 interface's clock to match the computer's\n\
  209. clock.\n\
  210. \n\
  211. Use [DIAG] to run the CP290 interface's self diagnostic test.  This will\n\
  212. display the current base housecode and clock value from the CP290.  This\n\
  213. will cause any programming currently in the interface's memory to be lost.\n\
  214. \n\
  215. Use [DOWNLOAD <filename>] to read timer events and graphics data from\n\
  216. <filename> and download them to the CP290 interface's memory.\n\
  217. \n\
  218. Use [UPLOAD <filename>] to upload the timer events and graphics data from\n\
  219. the CP290 interface's memory and write them to <filename>.\n\
  220. \n\
  221. [DEVICE <device name>] and [UNIT <unit number>] let one specify the device\n\
  222. driver and unit number to use to talk to the CP290 interface.  The\n\
  223. [ATTEMPT] switch will cause the program not to block waiting for the device\n\
  224. to be come free.\n
  225. ;
  226. ; this text holds the copyright message.
  227. MSG_COPYRIGHT (//)
  228. Copyright © 1992 by Christopher A. Wichura (caw@miroc.chi.il.us)\n\
  229. All rights reserved.\n
  230. ;
  231.